package io.hx.modules.rep.dao;

import io.hx.modules.rep.entity.DiagnosticEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * 诊断报告
 * 
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2023-03-21 11:28:39
 */
@Mapper
public interface DiagnosticDao extends BaseMapper<DiagnosticEntity> {

    DiagnosticEntity queryOneById2(Integer id);

    BigDecimal queryMoneyAll();

    List<Integer> queryAmountAll();

    List<DiagnosticEntity> queryByUserId(@Param("id") Integer id);
}
